package com.hdjk.view.entity;

import android.text.TextUtils;

import com.lst.projectlib.entity.BaseEntity;

/**
 * Created by sxy on 2017/11/13.
 */

public class IfastUserEntity extends BaseEntity {
    private String accountNumber;

    private String idName;

    private String idNumber;

    private String idType;

    private String investorPayId;

    private String portfolioId;

    private String riskAppetite;

    private String status;

    private String telephoneNumber;

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getAccountNumber() {
        return this.accountNumber;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getIdName() {
        return this.idName;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getIdNumber() {
        return this.idNumber;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdType() {
        return this.idType;
    }

    public void setInvestorPayId(String investorPayId) {
        this.investorPayId = investorPayId;
    }

    public String getInvestorPayId() {
        return this.investorPayId;
    }

    public void setPortfolioId(String portfolioId) {
        this.portfolioId = portfolioId;
    }

    public String getPortfolioId() {
        return this.portfolioId;
    }

    public void setRiskAppetite(String riskAppetite) {
        this.riskAppetite = riskAppetite;
    }

    public String getRiskAppetite() {
        return this.riskAppetite;
    }

    public String getRiskAppetiteName() {
        String risk = "";
        if (!TextUtils.isEmpty(riskAppetite))
            switch (this.riskAppetite) {
                case "1":
                    risk = "保守型";
                    break;
                case "2":
                    risk = "中度保守型";
                    break;
                case "3":
                    risk = "平衡型";
                    break;
                case "4":
                    risk = "中度进取型";
                    break;
                case "5":
                    risk = "进取型";
                    break;

            }
        return risk;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return this.status;
    }

    public void setTelephoneNumber(String telephoneNumber) {
        this.telephoneNumber = telephoneNumber;
    }

    public String getTelephoneNumber() {
        return this.telephoneNumber;
    }

}
